package compnents

const (
	WECHATCERTPATH = "./cert/apiclient_cert.pem"                                   //客户端证书存放绝对路径
	WECHATKEYPATH  = "./cert/apiclient_key.pem"                                    //客户端私匙存放绝对路径
	WECHATCAPATH   = "./cert/rootca.pem"                                           //服务端证书存放绝对路径
	WECHATURL      = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack" //微信红包发送链接
	REDISURL       = "127.0.0.1:6379"                                              //redis地址
	//ENDTIME           = "201603221657"                                                //红包活动结束时间
	OPENIDS           = "openids"     //中奖用户redis openid列表名
	BONUSPRICEPOSTFIX = "_bonusprice" //redis get对应用户红包价格的后缀 例：set openid+BONUSPRICEPOSTFIX price

	//微信红包内容XML设置
	ACT_NAME  = "gongliang"       //活动名
	CLIENT_IP = "113.246.186.251" //服务器IP
	MCH_ID    = "1588296161"      //商户号
	KEY       = "fobBQywcSdX4G5Z9mSUuVqBGZPzKKc4y"
	REMARK    = "gongliang"
	SEND_NAME = "gongliang"
	TOTAL_NUM = 1 //红包个数
	WISHING   = "gongliang"
	// 公亮科技APPID和APP秘钥
	WXAPPID     = "wxa7c17742913e2289"
	WXAPPSECRET = "bcc23776f426422ce772560a62950a10"

	// 趣多玩矿工世界ID和秘钥
	MACH_APPID     = "wx277584226c16e2cd"
	MACH_APPSECRET = "420c10962024f57d3b3450c488eb175c"

	DESC             = "趣多玩提现"
	LINQIAN_URL      = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers"
	ACCESSTOKEN_URL  = "https://api.weixin.qq.com/cgi-bin/token?"
	CODE2SESSION_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?"
	WXUSERINFO_URL 	 = "https://api.weixin.qq.com/sns/userinfo?"
)
